package cn.imvc.app.repositories;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import cn.imvc.app.entities.IndexClass;

public interface IndexClassRepository extends JpaRepository<IndexClass, Integer> {

	List<IndexClass> findByPlatformOrderBySortAsc(Byte platForm);
	
	List<IndexClass> findByPlatformAndShowTypeOrderBySortAsc(Byte platForm,Integer showType);

}
